<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
	String url = request.getScheme() + "://" + request.getServerName()
			+ request.getRequestURI();
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<base href="<%=basePath%>" />
		<title>固定资产管理系统</title>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />

		<%@ include file="/html/custom/header.jsp"%>
		<style>
		body{ background: #F2F5F7 url(images/ui-bg_highlight-hard_100_f2f5f7_1x100.png) 50% top repeat-x;color: #362B36; }
		
		.login-box{ width: 480px;height: 300px; margin: 0 auto; margin-top: 200px; position: relative; }
		.login-box .mask{width: 480px;height: 200px; position: absolute; top: 0; left: 0; }
		.login-box .form{position: absolute;width: 478px;height: 198px; position: absolute;top: 0; left: 0;}
		.login-box p{height: 60px;}
		.login-box p label{font-size: 18px; width: 120px;text-align: center;}
		.login-box p input{font-size: 18px; }
		.errtip{position: absolute;left:0;top: -50px;}
		.errtip p{padding: 5px 8px; height: 20px;}
		
		.foot{padding-right: 80px;}
		.foot #btnLogin{float: right; font-size: 18px; }
		</style>
		<script type="text/javascript">
		$(function(){
			$("#btnLogin").button();
		});
		</script>
	</head>

	<body>
		<div id="content">
			
			<div class="login-box" >
				<s:if test="#request.msg!=null">
				<div class="ui-widget errtip">
	<div class="ui-state-error ui-corner-all " >
		<p><span class="ui-icon ui-icon-alert" style="float: left; margin-right: .3em;"></span>
		<strong>提示:</strong> <s:property value="#request.msg" /> </p>
	</div>
</div></s:if>
				<div class="ui-widget-shadow ui-corner-all mask" ></div>
				<div class="form ui-widget-content ui-corner-all" >
				<form id="userForm" action="/swss/user/login.action" target="_top" method="post">

					<fieldset>
						<p>
							<label>
								用户名：
							</label>

							<input type="text" name="userName"
								class="ui-widget-content ui-corner-all txt" value="WUFEI" />
						</p>
						<p>
							<label>
								密&nbsp;&nbsp;&nbsp;&nbsp;码：
							</label>
							<input id="password" type="password" name="pwd"
								class="ui-widget-content ui-corner-all txt" value="123456" />

						</p>
						<p class="foot" >
							<input id="btnLogin" type="submit" value="登录" />
						</p>

					</fieldset>

				</form>
				</div>
			</div>


		</div>
	</body>
</html>
